package com.heima.model.wemedia.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
* 频道信息表
*/
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("wm_channel")
@ApiModel(value = "WmChannel对象", description = "频道信息表")
public class WmChannel implements Serializable {

private static final long serialVersionUID = 1L;

    /**
    * 无字段注释
    */
    @ApiModelProperty(value = "无字段注释")
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
    * 频道名称
    */
    @ApiModelProperty(value = "频道名称")
    @TableField("name")
    private String name;
    /**
    * 频道描述
    */
    @ApiModelProperty(value = "频道描述")
    @TableField("description")
    private String description;
    /**
    * 是否默认频道
    */
    @ApiModelProperty(value = "是否默认频道")
    @TableField("is_default")
    private Integer isDefault;
    /**
    * 无字段注释
    */
    @ApiModelProperty(value = "无字段注释")
    @TableField("status")
    private Integer status;
    /**
    * 默认排序
    */
    @ApiModelProperty(value = "默认排序")
    @TableField("ord")
    private Integer ord;
    /**
    * 创建时间
    */
    @ApiModelProperty(value = "创建时间")
    @TableField("created_time")
    private Date createdTime;
}
